public class Man extends Person{

    private String wife;
    private int wifeMoney;

    public Man() {
    }

    public Man(String name, int money) {
        super(name, money);
    }

    public String getWife() {
        return wife;
    }

    public void setWife(String wife) {
        this.wife = wife;
    }

    public int getWifeMoney() {
        return wifeMoney;
    }

    public void setWifeMoney(int wifeMoney) {
        this.wifeMoney = wifeMoney;
    }

    Person m = new Person("张三", 1000);


    @Override
    public void show(String wife, int wifeMoney) {
        m.show("张三", 1000);
        System.out.println(wife + "有" + wifeMoney + "美金");
    }
}
